﻿using System;
using System.Web.UI;
using Microsoft.SharePoint;
using Microsoft.SharePoint.Utilities;

namespace CKSDevSandBoxDemo.DemoWebPart
{
    public partial class DemoWebPartUserControl : UserControl
    {
        protected override void OnLoad(EventArgs e)
        {
            base.OnLoad(e);

            btnShowMessage.Click += new EventHandler(btnShowMessage_Click);

        }

        void btnShowMessage_Click(object sender, EventArgs e)
        {
            litMessage.Text = txtMessage.Text;
        }
    }
}
